package com.ruoyi.db.domain.system;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 【商城用户】对象 pc_product
 * 
 * @author ruoyi
 * @date 2022-07-23
 */
@ApiModel(value = "PcProduct",description = "【商城用户】对象 pc_product")
public class PcProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品Id */
    private Long proId;

    /** 商品名称 */
    @ApiModelProperty(value="商品名称",name="PcProduct$proName")
    @Excel(name = "商品名称")
    private String proName;

    /** 上下架状态 */
    @ApiModelProperty(value="上下架状态",name="PcProduct$sellStatus")
    @Excel(name = "上下架状态")
    private Long sellStatus;

    /** 人民币售价 */
    @ApiModelProperty(value="人民币售价",name="PcProduct$rmbPrice")
    @Excel(name = "人民币售价")
    private BigDecimal rmbPrice;

    /** 库存数量 */
    @ApiModelProperty(value="库存数量",name="PcProduct$storageAmount")
    @Excel(name = "库存数量")
    private Long storageAmount;

    /** 已出售数量 */
    @ApiModelProperty(value="已出售数量",name="PcProduct$sellAmount")
    @Excel(name = "已出售数量")
    private Long sellAmount;

    /** 金藻返利率 */
    @ApiModelProperty(value="金藻返利率",name="PcProduct$returnRate")
    @Excel(name = "金藻返利率")
    private BigDecimal returnRate;

    /** 1.金藻商城商品 2.银藻商城商品 */
    @ApiModelProperty(value="1.金藻商城商品 2.银藻商城商品",name="PcProduct$sellType")
    @Excel(name = "1.金藻商城商品 2.银藻商城商品")
    private Long sellType;

    /** 商品主图 */
    @ApiModelProperty(value="商品主图",name="PcProduct$masterImg")
    @Excel(name = "商品主图")
    private String masterImg;

    /** 商品详情图 */
    @ApiModelProperty(value="商品详情图",name="PcProduct$infoImg")
    @Excel(name = "商品详情图")
    private String infoImg;

    public String getSlideImg() {
        return slideImg;
    }

    public void setSlideImg(String slideImg) {
        this.slideImg = slideImg;
    }

    /** 商品详情图 */
    @ApiModelProperty(value="商品轮播图",name="PcProduct$slideImg")
    @Excel(name = "商品轮播图")
    private String slideImg;

    /** 商品套餐Id */
    @ApiModelProperty(value="商品套餐Id",name="PcProduct$proComboId")
    @Excel(name = "商品套餐Id")
    private Long proComboId;

    /** 套餐包含的商品数量 */
    @ApiModelProperty(value="套餐包含的商品数量",name="PcProduct$comboAmount")
    @Excel(name = "套餐包含的商品数量")
    private Long comboAmount;

    /** 金藻售价 */
    @ApiModelProperty(value="金藻售价",name="PcProduct$goldBeanPrice")
    @Excel(name = "金藻售价")
    private BigDecimal goldBeanPrice;

    /** 银藻售价 */
    @ApiModelProperty(value="银藻售价",name="PcProduct$silverBeanPrice")
    @Excel(name = "银藻售价")
    private BigDecimal silverBeanPrice;

    public String getSpecs() {
        return specs;
    }

    public void setSpecs(String specs) {
        this.specs = specs;
    }

    /** 商品详情图 */
    @ApiModelProperty(value="规格",name="PcProduct$specs")
    @Excel(name = "规格")
    private String specs;

    /** 商品详情图 */
    @ApiModelProperty(value="排序权重",name="PcProduct$showSort")
    @Excel(name = "排序权重")
    private Long showSort;

    /** 逻辑删除 */
    @ApiModelProperty(value="逻辑删除，1删除,0正常",name="PcProduct$isDelete")
    @Excel(name = "逻辑删除，1删除,0正常")
    private Integer isDelete;

    /** 银藻商城商品分类ID */
    @ApiModelProperty(value="银藻商城商品分类ID",name="PcProduct$proCatId")
    @Excel(name = "银藻商城商品分类ID")
    private Long proCatId;

    public String getProTag() {
        return proTag;
    }

    public void setProTag(String proTag) {
        this.proTag = proTag;
    }

    @ApiModelProperty(value="标签",name="PcProduct$proTag")
    @Excel(name = "标签")
    private String proTag;

    public BigDecimal getReturnGold() {
        return returnGold;
    }

    public void setReturnGold(BigDecimal returnGold) {
        this.returnGold = returnGold;
    }

    private BigDecimal returnGold;

    public Long getProCatId() {
        return proCatId;
    }

    public String getCatName() {
        return catName;
    }

    public void setCatName(String catName) {
        this.catName = catName;
    }

    private String catName;

    public void setProCatId(Long proCatId) {
        this.proCatId = proCatId;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }


    public Long getShowSort() {
        return showSort;
    }

    public void setShowSort(Long showSort) {
        this.showSort = showSort;
    }


    public void setProId(Long proId) 
    {
        this.proId = proId;
    }

    public Long getProId() 
    {
        return proId;
    }
    public void setProName(String proName) 
    {
        this.proName = proName;
    }

    public String getProName() 
    {
        return proName;
    }
    public void setSellStatus(Long sellStatus) 
    {
        this.sellStatus = sellStatus;
    }

    public Long getSellStatus() 
    {
        return sellStatus;
    }
    public void setRmbPrice(BigDecimal rmbPrice) 
    {
        this.rmbPrice = rmbPrice;
    }

    public BigDecimal getRmbPrice() 
    {
        return rmbPrice;
    }
    public void setStorageAmount(Long storageAmount) 
    {
        this.storageAmount = storageAmount;
    }

    public Long getStorageAmount() 
    {
        return storageAmount;
    }
    public void setSellAmount(Long sellAmount) 
    {
        this.sellAmount = sellAmount;
    }

    public Long getSellAmount() 
    {
        return sellAmount;
    }
    public void setReturnRate(BigDecimal returnRate) 
    {
        this.returnRate = returnRate;
    }

    public BigDecimal getReturnRate() 
    {
        return returnRate;
    }
    public void setSellType(Long sellType) 
    {
        this.sellType = sellType;
    }

    public Long getSellType() 
    {
        return sellType;
    }
    public void setMasterImg(String masterImg) 
    {
        this.masterImg = masterImg;
    }

    public String getMasterImg() 
    {
        return masterImg;
    }
    public void setInfoImg(String infoImg) 
    {
        this.infoImg = infoImg;
    }

    public String getInfoImg() 
    {
        return infoImg;
    }
    public void setProComboId(Long proComboId) 
    {
        this.proComboId = proComboId;
    }

    public Long getProComboId() 
    {
        return proComboId;
    }
    public void setComboAmount(Long comboAmount) 
    {
        this.comboAmount = comboAmount;
    }

    public Long getComboAmount() 
    {
        return comboAmount;
    }
    public void setGoldBeanPrice(BigDecimal goldBeanPrice) 
    {
        this.goldBeanPrice = goldBeanPrice;
    }

    public BigDecimal getGoldBeanPrice() 
    {
        return goldBeanPrice;
    }
    public void setSilverBeanPrice(BigDecimal silverBeanPrice) 
    {
        this.silverBeanPrice = silverBeanPrice;
    }

    public BigDecimal getSilverBeanPrice() 
    {
        return silverBeanPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("proId", getProId())
            .append("proName", getProName())
            .append("sellStatus", getSellStatus())
            .append("rmbPrice", getRmbPrice())
            .append("storageAmount", getStorageAmount())
            .append("sellAmount", getSellAmount())
            .append("createTime", getCreateTime())
            .append("returnRate", getReturnRate())
            .append("sellType", getSellType())
            .append("masterImg", getMasterImg())
            .append("infoImg", getInfoImg())
            .append("proComboId", getProComboId())
            .append("comboAmount", getComboAmount())
            .append("goldBeanPrice", getGoldBeanPrice())
            .append("silverBeanPrice", getSilverBeanPrice())
            .toString();
    }
}
